package com.architecture.core.entity;

import javax.persistence.Column;

/**
 * Created with IntelliJ IDEA.
 * User: aguang
 * Date: 13-3-16
 * Time: 下午12:21
 * 添加每条记录的唯一代码，用于权限控制.
 */
public abstract class ExtendCode extends BaseEntity{

    @Column(name = "CODE",nullable = false)
    private long code;

    public long getCode() {
        return code;
    }

    public void setCode(long code) {
        this.code = code;
    }
}
